package userInterface;

import javax.swing.JFrame;

public class GUIController extends JFrame {

	private static MainPage main = new MainPage(); //singleton MainPage
	
	public static void main(String[] args) {
		//create new MainPage
		main.setTitle("NCFTA Data Analysis Program");
		main.setLocation(300,200);  //set location
		main.setSize(800,225);  //set size
		main.setResizable(true);
		main.setDefaultCloseOperation(EXIT_ON_CLOSE);
		main.setVisible(true);
	}
	/**
	 * Provides the singleton MainPage
	 * @return
	 */
	public static MainPage getMainPage() {
		return main;
	}
}
